<template>
<div class="wrapper">
  <div class="seakInfo">
    <div class="info-title">讨论病例</div>
    <div class="seak-txt">张先生，男，24岁，2024年2月13日，持续发...</div>
  </div>
  <div class="content">
    <div class="meet-time">
      <div class="info-title">讨论时间</div>
      <div class="picker-date">
        <picker mode='date' class="date">
          <div class='picker'>
            选择日期
          </div>
        </picker>
        <picker mode='time' class="date">
          <div class='picker'>
            选择时间
          </div>
        </picker>
      </div>
    </div>
    <div class="info-title expert">类型</div>
    <div>
      <picker mode='selector' :range="multiArray">
        <div class='picker info-input'>
          请选择
        </div>
      </picker>
    </div>
    <div class="info-title expert">参与专家</div>
    <div class="panel">
      <div class="introduce">
        <img class="info-avatar" src='@/static/images/infoAvatar.png' />
        <div class="title">张教授</div>
      </div>
      <div class="introduce">
        <img class="info-avatar" src='@/static/images/infoAvatar.png' />
        <div class="title">张教授</div>
      </div>
      <div class="introduce">
        <img class="info-avatar" src='@/static/images/infoAvatar.png' />
        <div class="title">张教授</div>
      </div>
      <div class="introduce">
        <img class="info-avatar" src='@/static/images/infoAvatar.png' />
        <div class="title">张教授</div>
      </div>
    </div>
    <div class="info-title expert">病例回顾</div>
    <Textarea  placeholder='我是病例回顾' class="info-area"/>
    <div class="info-title expert">专家建议</div>
    <Textarea  placeholder='我是专家建议' class="info-area"/>
    <div class="info-title expert">会后笔记</div>
    <Textarea  placeholder='我是会后笔记' class="info-area"/>
  </div>
  <div>
    <Button class='btn-max-w' type='primary' >查看该病例笔记</Button>
    
  </div>

</div>
</template>

<script>
	import request from '../../utils/request'

export default {
  components:{
  },
  data() {
    return {
      multiArray:['男', '女']
    }
  },
  async onLoad() {

  },
  methods: {
   toPage(url){
      uni.navigateTo({
        url: url
      });
   }
  }
}
</script>

<style lang="scss" scoped>
.wrapper {
  display       : flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 15upx;
  padding-bottom: 50upx;
  .info-title  {
    font-size: 32upx;
    color: hsl(0, 0%, 0%);
    position: relative;
    padding-left: 20upx;
    &::before{
      content: '';
      position: absolute;
      width: 8upx;
      height: 30upx;
      background-color: #0094FF;
      border-radius: 4upx;
      left: 0;
      top: 8upx;
    }
  }
  .search {
    border-bottom: 1upx solid #E9E9E9;
    padding: 40upx 0;
    margin: 0 10upx;
    display: flex;
    align-items: center;
    .search-input {
      width: 540upx;
      color: #0e0e0e;
      border: 1upx solid #66C2FF;
      display: block;
      height: 80upx;
      background-color: #F0F9FF;
      border-radius: 40upx;
      padding-left: 40upx;
      margin-top: 15upx;
      color: #000000;
    }
    .searchText {
      color: #0094FF;
      margin:10upx 0 0 30upx;
    }
  }
  .seakInfo {
    background: #F0F9FF;
    border-radius: 20upx 20upx 20upx 20upx;
    border: 1upx solid #66C2FF;
    margin: 20upx 40upx;
    padding: 30upx 20upx;
    font-size: 28upx;
    .seak-txt {
      margin-top: 20upx;
    }
  }
  .content {
    background: #FFFFFF;
    box-shadow: 0upx -8upx 40upx 0upx rgba(0,73,126,0.1);
    border-radius: 60upx 60upx 0upx 0upx;
    padding: 30upx 40upx;
    margin-top: 10upx;
    .expert {
      margin-top: 40upx;
    }
    .info-avatar {
      display: block;
      width  : 150upx;
      height : 150upx;
      margin-top: 20upx;
    }
    .panel {
      border-bottom: 1upx solid #E9E9E9;
      position: relative;
      padding: 30upx 0;
      font-size: 30upx;
      display: flex;
      align-items: center;
      gap: 24upx;
      .introduce {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .title {
          margin-top: 15upx;
        }
      }
      .desc {
        font-size: 24upx;
        margin-top: 10upx;
      }
      .checkbox {
        width: 32upx;
        height: 32upx;
        background: #D9F0FF;
        border: 1upx solid #0094FF;
        position: absolute;
        top: calc(50% - 16upx);
        right: 0;
        border-radius: 15upx;
      }
    }
    .meet-time {
      margin-top: 10upx;
    }
   
    .info-input {
      color: #0e0e0e;
      border: 1upx solid #66C2FF;
      display: flex;
      height: 80upx;
      background-color: #F0F9FF;
      border-radius: 40upx;
      padding-left: 20upx;
      margin-top: 15upx;
      align-items: center;
    }
    .info-area {
      height: 300upx;
      width: calc(100% - 30upx);
      line-height: 1;
      padding: 20upx;
      align-items: baseline;
      border-radius: 10upx 10upx 10upx 10upx;
      border: 3upx solid #E9E9E9;
      margin-top: 20upx;
    }
    .picker-date {
      display: flex;
      justify-content: space-between;
      margin-top: 30upx;
      .date {
        width: 320upx;
        height: 80upx;
        background: #F0F9FF;
        border-radius: 60upx 60upx 60upx 60upx;
        border: 1upx solid #66C2FF;
        color: #BDBDBD;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }
  .btn-max-w {
    background-color: #0094FF;
    border-radius: 130upx;
    width: 600upx;
    margin-top: 80upx;
    color: #fff;
  }
}
</style>
